import 'package:flutter/material.dart';

class Counter with ChangeNotifier{
  int  value = 0;

  inCrement(){
    value++;
    // 通知 局部属性widget
    notifyListeners();
  }
}